#ifndef D_DRAWELEMENTFACTORY_H
#define D_DRAWELEMENTFACTORY_H

#include "..\D-DrawTypes.h"
#include "D-DrawBaseElement.h"

class wxPoint;

class D_DrawElementFactory{
	public:
	D_DrawElementFactory();
	~D_DrawElementFactory();
	
	D_DrawBaseElement* GenerateElement(ElementType type, wxPoint* position = 0x0);
	D_DrawBaseElement* GenerateElement(ElementType type, unsigned char* buffer, int& element_buffer_length);
	};

#endif